package com.woniuxy.cloud.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加优惠劵实体类")
public class AddCouponForm {
    /**
     * 用户id
     * */
    @ApiModelProperty("用户id")
    @NotNull
   private Integer userId;
    /**
     * 优惠劵id
     * */
    @ApiModelProperty("优惠劵id")
    @NotNull
   private Integer couponId;
    /**
     * 优惠劵数量
     * */
    @ApiModelProperty("优惠劵数量")
    @NotNull
   private Integer number;
}
